package com.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhonglunsheng
 * @Description
 * @create 2021-02-15 15:46
 */
@RestController("/api")
public class IndexController {

    @GetMapping("/hello")
    public String hello() {
        return "hello world!!";
    }
}
